

function onClickApplyForTrip(trip_id) {
    sendJoinTrip(trip_id, function(data) {
        location.reload();
    });
}

function onClickAcceptParticipant(trip_id, user_id) {
    sendAcceptUserInTrip(trip_id, user_id, function(data) {
        location.reload();
    });
}

